﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Trilobita.SAOT.Object
{

    [Serializable]
    public class WorkflowParameter : System.Workflow.Activities.ExternalDataEventArgs
    {
        public WorkflowParameter(Guid instanceId)
            : base(instanceId)
        {
        }
        public object BindObject { get; set; }
    }
    [DataContract]
    public class WorkflowEventInformation
    {
        public WorkflowEventInformation() { this.Visibility = true; }
        /// <summary>
        /// display name of the event
        /// </summary>
        [DataMember]
        public string Title { get; set; }
        /// <summary>
        /// event name
        /// </summary>
        [DataMember]
        public string MethodName { get; set; }
        [DataMember]
        public string Description { get; set; }
        [DataMember]
        public object Value { get; set; }
        [DataMember]
        public Guid InstanceID { get; set; }
        [DataMember]
        public bool Visibility { get; set; }
        [DataMember]
        public string Type { get; set; }
    }
}
